package com.saladin.personalFinancialSystem.controller;


import com.saladin.personalFinancialSystem.model.User;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/user")
public class UserController {
    /**
     * 用户的登录方法
     * @return
     */
    @PostMapping("/login")
    public void login(@RequestBody User user){
        System.out.println(user);
    }
}
